package com.qq.input_monthy_unit.service.impl;

import com.qq.input_monthy_unit.entity.LineInputTable;
import com.qq.input_monthy_unit.mapper.LineInputTableMapper;
import com.qq.input_monthy_unit.service.ILineInputTableService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author 杨清林
 * @since 2021-01-19
 */
@Service
public class LineInputTableServiceImpl  implements ILineInputTableService {

    @Autowired
    LineInputTableMapper lineInputTableMapper;

    @Override
    public List<String> queryAllLine() {
        return lineInputTableMapper.queryAllLine();
    }

    @Override
    public List<LineInputTable> queryAllLine_input() {
        return lineInputTableMapper.queryAllLine_input();
    }

    @Override
    public List<Double> querySUMMoneryByLine(String line) {
        return lineInputTableMapper.querySUMMoneryByLine(line);
    }
}
